package com.binguo.api.form;

import io.swagger.annotations.ApiParam;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 */
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Data
public class CardInfoForm {

    @ApiParam(value = "卡号", required = true)
    @NotNull
    private String cardNo;

    @ApiParam(value = "店铺Id", required = true)
    private Integer shopId;

    @ApiParam(value = "姓名", required = true)
    private String name;

    @ApiParam(value = "余额", required = true)
    private Long accountBalance;

}
